package com.google.code;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Fields declared with {@code @Given} annotation in test scenarios will have the value of corresponding bean name/alias
 * injected.
 * 
 * @author Leopold Muller
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Given {

    /**
     * @return the given description
     */
    String value();
}
